package com.chenchen.subject.domain.serivice;


import com.chenchen.subject.common.entity.PageResult;
import com.chenchen.subject.domain.entity.SubjectInfoBo;
import com.chenchen.subject.infra.basic.entity.SubjectInfoEs;

import java.util.List;

/**
 * 题目领域服务
 * 
 * @author: ChickenWing
 * @date: 2023/10/3
 */
public interface SubjectInfoDomainService {

    /**
     * 新增题目
     */
    void add(SubjectInfoBo subjectInfoBO);

    /**
     * 分页查询
     */
    PageResult<SubjectInfoBo> getSubjectPage(SubjectInfoBo subjectInfoBO);

    /**
     * 查询题目信息
     */
    SubjectInfoBo querySubjectInfo(SubjectInfoBo subjectInfoBO);

    /**
     * 全文检索
     */
    PageResult<SubjectInfoEs> getSubjectPageBySearch(SubjectInfoBo subjectInfoBO);

    List<SubjectInfoBo> getContributeList();


}

